<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <meta name="viewport" content="width=device-width, user-scalable=no"/>
        <title>Sorteio - Cadastro de Equipe</title>
        <link rel="stylesheet" href="_css/estilo.css" />
    </h:head>

    <h:body>

        <div id="div-cad-atividade" style="position: absolute; top: 10%;">

            <h:form>
                <p:panel style=" text-align: center;">

                    <h:outputText value="Nome do Professor: "/>
                    <p:inputText value="#{professorMB.professor.nome}" size="15"/>

                </p:panel>

                <br/>
                <p:separator/>
                <p:spacer/>
                <br/>
                <p:commandButton value="Cadastrar" actionListener="#{professorMB.cadastraProfessor()}" action="#{navegacaoMB.irTelaLogin()}"/>
            </h:form>

        </div>

    </h:body>

</html>

